import { useToastStore } from '@/store/modules/toast'

export const useToast = () => {
  const toastStore = useToastStore()

  return {
    success: toastStore.success,
    error: toastStore.error,
    warning: toastStore.warning,
  }
}
